ShortPixel\Model\Converter\PNGConverter A

Total Complexity 58
Dependencies 6
Dependents 0
Total lines 472
Lines of code 273
Logical lines of code 175
Comment lines 74
Methods 12
Properties 8

Methods 12

Method Rating Maintainability Complexity Lines of code
convert()
A
41 10 58
run()
A
41 10 56
getPNGImage()
A
45 7 46
isTransparent()
S
52 6 22
isConvertable()
S
56 6 20
checkFileSizeMargin()
S
56 6 19
__construct()
S
59 5 13
restore()
S
55 2 20
hasTried()
S
70 2 7
raiseMemoryLimit()
S
74 2 5
filterQueue()
S
76 1 4
getCheckSum()
S
80 1 3